package com.salton123.colorflydemo.ui.aty;

import android.os.Bundle;

import com.salton123.bmob.ui.fm.PublishFragment;
import com.salton123.colorflydemo.R;
import com.salton123.colorflydemo.ui.fm.MandalaComp;
import com.salton123.compat.PermissionFeatureCompat;
import com.salton123.ui.base.BaseActivity;


public class MainActivity extends BaseActivity {

    @Override
    public int getLayout() {
        return R.layout.aty_main;
    }

    @Override
    public void initVariable(Bundle savedInstanceState) {
        addFeature(new PermissionFeatureCompat(this));
    }

    @Override
    public void initViewAndData() {
        // loadRootFragment(R.id.flContainer,
        //         new PublishFragment());
        loadRootFragment(R.id.flContainer,
                new MandalaComp());

    }
}
